<?php
include'conn.php';
$sql = "delete from students where id = ".$_GET['id'];
if($conn->query($sql)===TRUE)
{
    echo "删除成功";
}
else
{
    echo "删除失败：".$sql."<br>".$conn->error;
}
echo ",<a href='index.php'>返回首页</a>";
$conn->close();
?>